<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%@page contentType="text/html;charset=UTF-8"   language="java"  %>
<%
  	String base = request.getContextPath();
	String locale = request.getLocale().toString();

	Object sessionLang = session.getAttribute("language");
	if (sessionLang != null) {
		locale = sessionLang.toString();
	}
	if (locale.equals("en_US")) {
		locale = "zh_CN";
	} else {
		locale = "en_US";
	}
%>

<div class="item">
	<img src="<%=base%>/resources/images/logo.png" class="logo mui-pull-left"/>
	<span><img src="<%=base%>/resources/images/icon/map.png" class="map mui-pull-left"/>Find a Store</span>
	<a href="javascript:void(0)" class="mui-pull-right"><img src="<%=base%>/resources/images/<%=locale%>.png" language="<%=locale%>" class="change"/></a>

</div>
<div class="item">
	<a href="#offCanvasSide" class="mui-icon mui-action-menu mui-icon-bars mui-pull-left"></a>
	<a href="javascript:void(0)" class="mui-pull-left mui-icon shopcar"><img src="<%=base%>/resources/images/icon/shopcar.png"/><em class="mui-badge mui-badge-warning mui-badge-inverted">0</em> </a>
	<!-- <a href="javascript:void(0)" class="mui-pull-left mui-icon male"><img src="<%=base%>/resources/images/icon/green-male.png"/> </a> -->
	<a href="javascript:void(0)" class="mui-pull-left mui-icon searchicon"><img src="<%=base%>/resources/images/icon/searh.png"/> </a>
	<a href="javascript:void(0)" class="mui-icon mui-pull-right more"> <img src="<%=base%>/resources/images/icon/person.png"/> </a>
</div>
